NAME
	GU_CheckVersion -- Check the version.revision of a library

   SYNOPSIS
	success = GU_CheckVersion(library, version, revision)
	D0, SR(Z)                 A0       D0       D1

	BOOL GU_CheckVersion(struct Library *, UWORD, UWORD);

   FUNCTION
	Compares a library's version and revision with a required one.
	
   INPUTS
	library  - a pointer to an opened library/device
	version  - the version of the library that is required
	revision - the revision of the library that is required

   RESULT
	success - TRUE if the required version is older or equal to the
		  opened one. FALSE otherwise.
	SR(Z)   - 0 if function returns TRUE, 1 otherwise

   BUGS
	none known

   SEE ALSO


[Main] [Previous] [Next]

Converted on 19 Jul 1996 with RexxDoesAmigaGuide2HTML by Michael Ranner.